import CSelect from '@/components/CSelect'
import CPermissionTabs from '@/components/CPermissionTabs'
import CDictRangeView from '@/components/CDictRangeView'
import CUpload from '@/components/CUpload'
import CButton from '@/components/CButton'
import CPermission from '@/components/CPermission'
import CBackWrap from '@/components/CBackWrap'
import CTitle from '@/components/CTitle'
import CCommonSearch from '@/components/CCommonSearch'
import CCommonSearchPredefine from '@/components/CCommonSearch/predefine'
import CMdmView from '@/components/CMdmView'
import CCollapseItem from '@/components/CCollapseItem'

export default {
  install(Vue) {
    Vue
      .use(CSelect)
      .use(CPermissionTabs)
      .use(CUpload)
      .component('c-dict-range-view', CDictRangeView)
    Vue.component('c-button', CButton)
    Vue.component('c-permission', CPermission)
    Vue.component('c-back-wrap', CBackWrap)
    Vue.component('c-title', CTitle)
    Vue.component('c-common-search', CCommonSearch())
    Vue.use(CCommonSearchPredefine)
    Vue.component('c-mdm-view', CMdmView)
    Vue.component('c-collapse-item', CCollapseItem)

  }
}
